export default {
  namespaced: true,
  state: {
    // 下拉菜单的数据
    loadingbut: false, //导出loading
    message: '',
  },
  getters: {
    /**
     * @description 获取下拉菜单
     * */
  },
  mutations: {
    /**
     * @description 设置下拉菜单数据
     * @param {Object} state vuex state
     * @param {Array} menu menu
     */
    changeloadingbut(state, data) {
      state.loadingbut = data;
    },
    changemessage(state, data) {
      state.message = data;
    },
  },
};
